﻿/*
 *Copyright(C) 2020 by  GYYX All rights reserved.
 *Unity版本：2018.4.23f1 
 *作者:程一峰  
 *创建日期: 2021-04-08 
 *模块说明：
 *版本: 1.2
*/


using Warfare.FSM;

namespace WarfareEditor.FSM
{
    /// <summary>
    /// 状态机区域绘制工具
    /// </summary>
    public abstract class FSMZoom
    {
        /// <summary>
        /// 当前显示窗口；
        /// </summary>
        protected FSMEditorWindow window { get; private set; }

        protected FSMAsset curFsmAsset => window.CurrentAsset;

        protected internal virtual void Init(FSMEditorWindow aWindow)
        {
            window = aWindow;
        }

        protected internal abstract void OnDestroy();

        protected internal abstract void OnGUI();

    }
}
